package day05;

public class Text2 {
    public static void main(String[] args) {
        int h=9;
        int mid=h/2;
        for (int i=0;i<=mid;i++){
            for (int j=0;j<=mid-1;j++){
                System.out.println(" ");
            }
            for (int k=0;k<2*i+1;k++){
                System.out.println("*");
            }
            System.out.println();
        }
    }
}
